<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<div class="block large-margin-bottom">
	<div class="block-title">
		<h3>成员列表</h3>
	</div>
	<c:if test="${fn:length(users) gt 0}">
	<ul class="list spaced">
		<c:forEach items="${users }" var="user">
		<li style="padding-left:10px;">
			<a href="javascript:;"><strong>${user.username }</strong></a>
			<c:if test="${param.oper ne 'view' }">
				<div class="button-group absolute-right compact" style="margin-right: 5px;">
					<a href="javascript:;" class="button icon-pencil" onclick='removeMember("${user.id}")'>移除</a>
				</div>
			</c:if>
		</li>
		</c:forEach>
	</ul>
	</c:if>
</div>